#include <myheader.h>
static int num = 0;
void* pthread_func1(void* arg){
    int* a = (int*) arg;
    *a += 1;
    printf("%d\n",*a);
    return NULL;
}

/*Usage:  */
int main(int argc, char *argv[])
{
    int globle = 100;
    pthread_t tid1,tid2,tid3;
    pthread_create(&tid1,NULL,pthread_func1,(void*)&globle);
    sleep(1);
    printf("%d\n",globle);

    return 0;
}

